import request from "../../utils/request"
import API from "../api"
import { CategoryDataType } from "./type"

export const reqCategory = (id: string) => request.get<any, CategoryDataType>(API.CATEGORY + `?id=${id}`)